-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EMSUSD-1522 I want the ability to see and set the expansion rule of the collection #4015
Conversation
barbalt
commented
Nov 27, 2024
- Added tabs to the Light Linking widget
- Added Expression tabs
- Added Expansion rules menu
...urces/ae/usd-shared-components/src/python/usdSharedComponents/collection/ExpressionWidget.py
Show resolved
Hide resolved
...urces/ae/usd-shared-components/src/python/usdSharedComponents/collection/ExpressionWidget.py
Show resolved
Hide resolved
...s/ae/usd-shared-components/src/python/usdSharedComponents/collection/IncludeExcludeWidget.py
Outdated
Show resolved
Hide resolved
headerLayout.addWidget(menuButton) | ||
includeExcludeLayout.addWidget(headerWidget) | ||
|
||
self._include = StringList(includes, "Include", "Include all", self) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would have like the widget class to have names that reflect they are UI element. StringList and Resizable are very generic, at first I did not understand what was going on. For example StringListView.
(Also, its file is just "list.py" which triggers my consistency demon. :) )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those were there on the initial version of this widget that was moved to maya. So I kept them with the same name for ease of updating
lib/mayaUsd/resources/ae/usd-shared-components/src/python/usdSharedComponents/common/list.py
Show resolved
Hide resolved
@@ -1,5 +1,5 @@ | |||
try: | |||
from PySide6.QtCore import QSettings | |||
from PySide6.QtCore import QSettings # type: ignore | |||
except: | |||
from PySide2.QtCore import QSettings # type: ignore | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I discovered that this writes files in a random folder. I think we will need to have some DCC-specific callback to save the data in DCC-specific locations. (In another PR)